package com.tpp.dao;

import com.tpp.pojo.TppUser;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<TppUser,Integer> {
    TppUser findByEmail(String email);

    TppUser findByUserName(String userName);


    TppUser findByPhone(String phone);


}
